<?php /* Smarty version 2.6.11, created on 2011-07-01 10:55:56
         compiled from user_disper.php */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<SCRIPT src="style/js/jquery-1.3.2.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="style/js/main.js" type=text/javascript></SCRIPT>
<SCRIPT src="style/js/jquery-ui-1.7.2.custom.min.js" type=text/javascript></SCRIPT>
<LINK href="style/css/jquery-ui-1.7.2.custom.min.css" type=text/css rel=stylesheet>
<link rel="stylesheet" href="style/css/common.css" type="text/css" />
</head>

<body>
<div id="man_zone">
<form action="" method="post">
<?php $_from = $this->_tpl_vars['websites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['val']):
?>
<table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
  <tr style="background-color:#F3F8F7;">
    <td style="padding-left:30px;"><a href="index.php?m=user&a=group&wid=<?php echo $this->_tpl_vars['val']['wid']; ?>
"><?php echo $this->_tpl_vars['val']['domain']; ?>
</a></td>
  </tr>
</table>
<?php $this->assign('wid', $this->_tpl_vars['val']['wid']); ?>
<?php if ($this->_tpl_vars['wid']): ?>
<?php $_from = $this->_tpl_vars['groups'][$this->_tpl_vars['wid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['value']):
?>
<table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
  <tr>
    <td style="padding-left:60px;">
    |-- <a href="index.php?m=user&a=editgroup&gid=<?php echo $this->_tpl_vars['value']['gid']; ?>
">
    	<?php echo $this->_tpl_vars['value']['gname']; ?>
</a><?php $this->assign('gid', $this->_tpl_vars['value']['gid']); ?>
        <input name="gid[]" type="checkbox" value="<?php echo $this->_tpl_vars['value']['gid']; ?>
" <?php if ($this->_tpl_vars['user']['gid'] && in_array ( ($this->_tpl_vars['gid']) , $this->_tpl_vars['user']['gid'] )): ?>checked="checked"<?php endif; ?> />
    </td>
  </tr>
</table>
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<div><input type="hidden" name="uid" value="<?php echo $this->_tpl_vars['user']['uid']; ?>
" /><input type="submit" value="提交" /></div>
</form>
</div>
</body>
</html>